Example 2 will create a directory on your harddisk and copy some items in it. After this example is finished, you can simply remove the directory. It is recommended that you have the printed version of Example 2 with you. Press the 'Next' button to continue.
You can always press 'Quit' to abort.
<Set Message>
The directory to be created is shown in the editbox below. You can change it if you like.
This is done with the script command '<create directory>'. This command puts the text 'Install directory:' into the label, the directory name into the editbox; it then waits for the user to change the editbox contents and press the 'Next' button for confirmation. After all that it will create the directory.
<create directory>
c:\test2
<readonly editbox>
true
<Wait Message>
If everything went OK you should now have the directory on your disk. Notice that you can not change the contents of the editbox anymore, because it has been set to readonly by the command <readonly editbox>.
<Wait Message>
Now we will copy some files into the newly created directory. It is assumed that the files named install.exe, example1.script and example2.script are in the directory from which you run HJ-Install. If you have not deleted or moved anything, this will be the case. Press 'Next' to copy these files.
<copy files>
install.exe, Install2.exe
example1.script, example1.script
example3.script, example3.script.Copied
<Wait Message>
If it all went OK, you should have the files Install2.exe, example1.script, example3.script.Copied in the created directory. Check for yourself to be certain.
<hide editbox>
<hide label>
<set Title>
Example2 finished.
<set Message>
This concludes Example2.
It is now save to remove the created directory and its contents from the harddisk.